/**
 * udes.ds.agent.hw
 * AbstractEquation.java
 * 7 oct. 09
 */
package ift605.tp3.utils.equations;

/**
 * 
 * 
 * @author Luc Bergevin
 * @version 1.0
 * @see
 */
public abstract class AbstractEq implements IEquation
{
    private static final long serialVersionUID = 1L;
    
    /**
     * Returns a user-readable form of the equation
     * 
     * @return String
     */
    abstract public String getUserReadableString();
    
    /**
     * @see udes.ds.IEquation.hw.Equation#printUserReadable()
     */
    public void printUserReadable()
    {
        System.out.println("y = " + this.getUserReadableString());
    }
    
}
